package com.jbit.hxy.model.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 购物车
 * @TableName wx_shopping_cart
 */
@TableName(value ="wx_shopping_cart")
@Data
public class WxShoppingCart implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 微信用户唯一标识
     */
    @TableField(value = "userId")
    private Long userId;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private LocalDateTime createTime;

    /**
     * 
     */
    @TableField(value = "dishId")
    private Integer dishId;

    /**
     * 
     */
    @TableField(value = "setmealId")
    private Integer setmealId;
    private String picurl;
    @TableField(value = "dishFlavor")
    private String dishFlavor;
    private Integer num;
    private BigDecimal price;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}